package com.bf.electroplating.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 污水厂企业关系表
 * </p>
 *
 * @author gzd
 * @since 2025-09-28
 */
@Getter
@Setter
@TableName("sewage_plant_company_relation")
@Schema( description = "污水厂企业关系表")
public class SewagePlantCompanyRelation implements Serializable {

    private static final long serialVersionUID = 1L;

   @Schema( description ="关系ID")
    @TableId("ID")
    private String id;

   @Schema( description ="企业ID")
    @TableField("COMPANY_ID")
    private String companyId;

   @Schema( description ="企业编码")
    @TableField("COMPANY_CODE")
    private String companyCode;

   @Schema( description ="企业名称")
    @TableField("COMPANY_NAME")
    private String companyName;

   @Schema( description ="污水厂编码")
    @TableField("SEWAGE_PLANT_CODE")
    private String sewagePlantCode;

   @Schema( description ="污水厂名称")
    @TableField("SEWAGE_PLANT_NAME")
    private String sewagePlantName;

   @Schema( description ="污水厂企业ID")
    @TableField("SEWAGE_PLANT_COMPANY_ID")
    private String sewagePlantCompanyId;

   @Schema( description ="污水厂企业名称")
    @TableField("SEWAGE_PLANT_COMPANY_NAME")
    private String sewagePlantCompanyName;

   @Schema( description ="关系类型（01：委托处理，02：自建自用，03：合作运营）")
    @TableField("RELATION_TYPE")
    private String relationType;

   @Schema( description ="关系开始日期")
    @TableField("START_DATE")
    private LocalDate startDate;

   @Schema( description ="关系结束日期")
    @TableField("END_DATE")
    private LocalDate endDate;

   @Schema( description ="合同编号")
    @TableField("CONTRACT_NUMBER")
    private String contractNumber;

   @Schema( description ="处理能力(吨/日)")
    @TableField("TREATMENT_CAPACITY")
    private BigDecimal treatmentCapacity;

   @Schema( description ="处理范围")
    @TableField("TREATMENT_SCOPE")
    private String treatmentScope;

   @Schema( description ="状态（1：有效，2：暂停，3：终止）")
    @TableField("STATUS")
    private String status;

   @Schema( description ="负责人")
    @TableField("RESPONSIBLE_PERSON")
    private String responsiblePerson;

   @Schema( description ="联系方式")
    @TableField("CONTACT_INFO")
    private String contactInfo;

   @Schema( description ="关系描述")
    @TableField("DESCRIPTION")
    private String description;

   @Schema( description ="创建人")
    @TableField("CREATE_BY")
    private String createBy;

   @Schema( description ="创建时间")
    @TableField("CREATE_TIME")
    private LocalDateTime createTime;

   @Schema( description ="修改人")
    @TableField("UPDATE_BY")
    private String updateBy;

   @Schema( description ="修改时间")
    @TableField("UPDATE_TIME")
    private LocalDateTime updateTime;

   @Schema( description ="逻辑删除标志（0：未删除，1：已删除）")
    @TableField("DEL_FLAG")
    private String delFlag;
}
